#ifndef DOXATTRIBUTE_H
#define DOXATTRIBUTE_H

#include "IDoxyMemberDef.h"
#include "FileLocation.h"
#include "RefrenceItem.h"
#include <QtXml>
#include <QString>
#include <Enumerators.h>
#include <QtCore>


class DoxMemberDef : public IDoxyMemeberDef
{
public:
    DoxMemberDef();

    virtual bool loadConfig(const QDomElement& element);

    virtual Enumerators::SectionDefKind::DoxSectionKind_E getType() const;

 private:
    Enumerators::DoxMemeberKind::DoxMemeberKind_T m_kind;
    Enumerators::ProtectionType::Protection_e m_protection;
    bool m_static;
    bool m_mutable;
    bool m_const;
    bool m_explicit;
    bool m_inline;
    Enumerators::VirtualType::VirtualType_e m_virtual;
    bool m_volitile;

    RefItem m_ref;
    FileLocation m_fileLocation;



    void loadSubElements(const QDomElement& element);
};

#endif // DOXATTRIBUTE_H
